package cn.zyn.eduservice.excelTest;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author ：zyn
 * @date ：Created in 2022/5/27 10:00
 * @description：实体类
 * @modified By：
 * @version: $
 */
@Data
public class DemoData {
    //设置excel表头名称
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
